﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Project.Home
{
    public partial class ThongBaoLoi : System.Web.UI.Page
    {
        DataPOFDataContext data = new DataPOFDataContext();
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            string a = (from x in data.AccountLogins where x.Username == TextBox1.Text select x.Roll).FirstOrDefault();
            Label1.Text = a;
        }
    }
}